#ifndef DLGTENANTEDIT_H
#define DLGTENANTEDIT_H

#include <QDialog>
#include <dbmseditor.h>

namespace Ui {
    class DlgTenantEdit;
}

class DlgTenantEdit : public QDialog, public DbmsEditor
{
    Q_OBJECT
    void data_to_form();
    void form_to_data();
    void setup_connection();

public:
    explicit DlgTenantEdit(QWidget *parent = 0);
    ~DlgTenantEdit();

private:
    Ui::DlgTenantEdit *ui;
private slots:
    void data_changed() {m_data_changed = true;}
    void accept();
};

#endif // DLGTENANTEDIT_H
